package com.ljw.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ljw.entity.Booksum;
import com.ljw.mapper.BooksumMapper;
import com.ljw.service.BooksumService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ljw.vo.BooksumVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 预订记录表 服务实现类
 * </p>
 *
 * @author ljw
 * @since 2020-07-25
 */
@Service
public class BooksumServiceImpl extends ServiceImpl<BooksumMapper, Booksum> implements BooksumService {

    @Autowired
    private BooksumMapper booksumMapper;

    @Override
    public Page<BooksumVo> findAll(Page<BooksumVo> page) {
        return booksumMapper.findAll(page);
    }
}
